﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NFramework.DataAccess
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly")]
    public class ExecutionHelper : DataHelper<ExecutionHelper>, IExecutionHelper
    {

        #region [ IExecutionHelper Members ]

        public int Execute()
        {
            return ExecuteHelper<int>(() => Command.ExecuteNonQuery());
        }

        #endregion

    }
}
